package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 股票户数
 * </p>
 *
 * @author stylefeng123
 * @since 2018-05-19
 */
@TableName("nb_gdhs")
public class Gdhs extends Model<Gdhs> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 代码
     */
    @TableField("g_dm")
    private String gDm;
    /**
     * 股东户数统计截止日
     */
    @TableField("g_time")
    private Date gTime;
    /**
     * 股东户数统计截止日
     */
    @TableField("g_time_pre")
    private Date gTimePre;
    /**
     * 股东本次户数
     */
    @TableField("g_gdbc_hs")
    private Double gGdbcHs;
    /**
     * 股东上次户数
     */
    @TableField("g_gdsc_hs")
    private Double gGdscHs;
    /**
     * 增减
     */
    @TableField("g_zj")
    private Double gZj;
    /**
     * 增减比例(%)
     */
    @TableField("g_zjbl")
    private Double gZjbl;
    /**
     * 总股本(亿)
     */
    @TableField("g_ltsz")
    private Double gLtsz;
    
    /**
     * 总市值(亿)
     */
    @TableField("g_zsz")
    private Double gZsz;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getgDm() {
        return gDm;
    }

    public void setgDm(String gDm) {
        this.gDm = gDm;
    }

    public Date getgTime() {
        return gTime;
    }

    public void setgTime(Date gTime) {
        this.gTime = gTime;
    }

    public Double getgGdbcHs() {
        return gGdbcHs;
    }

    public void setgGdbcHs(Double gGdbcHs) {
        this.gGdbcHs = gGdbcHs;
    }

    public Double getgGdscHs() {
        return gGdscHs;
    }

    public void setgGdscHs(Double gGdscHs) {
        this.gGdscHs = gGdscHs;
    }

    public Double getgZj() {
        return gZj;
    }

    public void setgZj(Double gZj) {
        this.gZj = gZj;
    }

    public Double getgZjbl() {
        return gZjbl;
    }

    public void setgZjbl(Double gZjbl) {
        this.gZjbl = gZjbl;
    }

    public Double getgLtsz() {
        return gLtsz;
    }

    public void setgLtsz(Double gLtsz) {
        this.gLtsz = gLtsz;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public Date getgTimePre() {
		return gTimePre;
	}

	public void setgTimePre(Date gTimePre) {
		this.gTimePre = gTimePre;
	}

	public Double getgZsz() {
		return gZsz;
	}

	public void setgZsz(Double gZsz) {
		this.gZsz = gZsz;
	}

	@Override
    public String toString() {
        return "Gdhs{" +
        "id=" + id +
        ", gDm=" + gDm +
        ", gTime=" + gTime +
        ", gGdbcHs=" + gGdbcHs +
        ", gGdscHs=" + gGdscHs +
        ", gZj=" + gZj +
        ", gZjbl=" + gZjbl +
        ", gLtsz=" + gLtsz +
        "}";
    }
}
